package com.food.foodapi.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 92110
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("food_article")
public class Article {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(value = "title")
    private String title;
    @TableField(value = "image_url")
    private String imageUrl;
    @TableField(value = "description")
    private String description;
    @TableField(value = "content")
    private String content;
    @TableField(value = "author")
    private String author;
    @TableField(value = "eye_num")
    private Integer eyeNum;
    @TableField(value = "create_time")
    private String createTime;
    @TableField(value = "update_time")
    private String updateTime;
    @TableField(value = "shenhe_time")
    private String shenheTime;
    @TableField(value = "shenhe_status")
    private String shenheStatus;
    @TableField(value = "type")
    private String type;
    @TableField(value = "bankuai")
    private String bankuai;

}
